<?php
class UserEquity extends BaseModel
{
	public $res;
	public $expire;
	public function getSource()
    {
				return "f_user_equity";
    }

    public function get_level_list($level_id){
        $level_id = ($level_id+1)>3?3:$level_id+1;
	    $condition['conditions'] = "level_id = $level_id";
	    return $this->find($condition)->toarray();
    }

}
